Total Complexity | 14 |
Dependencies | 9 |
Dependents | 1 |
Total lines | 99 |
Lines of code | 68 |
Logical lines of code | 35 |
Comment lines | 0 |
Methods | 8 |
Properties | 9 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
verifyWebhook() | 64 | 4 | 9 | |
addRoute() | 60 | 2 | 12 | |
__construct() | 58 | 1 | 18 | |
validateSignature() | 63 | 2 | 10 | |
processWebhook() | 65 | 2 | 9 | |
get_rest_url() | 78 | 1 | 3 | |
handleSuccessfulPayment() | 80 | 1 | 3 | |
handleFailedPayment() | 74 | 1 | 4 |